package io.homework3;

public class Test5 {
    public static void main(String[] args) {
        try {
            Student s = new Student(101);
            System.out.println(s.getAge());
        } catch (Exception e) {
            System.out.println("年龄有问题啦，重新输入一下啦");
        }
//        Student s = new Student(101);
//        System.out.println(s.getAge());
    }
}
